home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 74
/
Volume 74 My Disc - Damaged.iso
/
Games
/
snowmans.swf
/
scripts
/
DefineButton2_175
/
BUTTONCONDACTION on(release).as
Wrap
Text File
|
2008-08-07
|
3KB
|
108 lines
on(release){
if(true)
{
if(true)
{
§§push(false);
}
if(!§§pop())
{
if(true)
{
if(true)
{
§§push(false);
}
if(!§§pop())
{
_root.ball.bounces = 0;
_root.ball.xspeed = 0;
_root.ball.yspeed = 0;
_root.go = false;
_root.terrain.clear();
terrain.lineStyle(10,14868735,100);
_root.ball._xscale = 100;
_root.ball._yscale = 100;
_root.ball.kern._xscale = 100;
_root.ball.kern._yscale = 100;
_root.ball.kern._rotation = 0;
_global.oog1gepakt = false;
_root.items.eye1._visible = true;
_global.oog2gepakt = false;
_root.items.eye2._visible = true;
_global.wortelgepakt = false;
_root.items.wortel._visible = true;
_global.bezemgepakt = false;
_root.ball.kern.oog1._visible = false;
_root.ball.kern.oog2._visible = false;
_root.ball.kern.wortel._visible = false;
_root.body.bezem._visible = false;
_root.messagetekst.gotoAndStop(1);
_root.items.vlok._x = _root.oldxsnow;
_root.items.bezem._x = _root.oldxbezem;
if(_root.level == 1)
{
_root.ball._x = 125;
_root.ball._y = 125;
}
if(_root.level == 2)
{
_root.ball._x = 125;
_root.ball._y = 40;
}
if(_root.level == 3)
{
_root.ball._x = 105;
_root.ball._y = 30;
}
if(_root.level == 4)
{
_root.ball._x = 660;
_root.ball._y = 20;
}
if(_root.level == 5)
{
_root.ball._x = 680;
_root.ball._y = 20;
}
if(_root.level == 6)
{
_root.ball._x = 675;
_root.ball._y = 25;
}
if(_root.level == 7)
{
_root.ball._x = 100;
_root.ball._y = 17;
}
if(_root.level == 8)
{
_root.ball._x = 95;
_root.ball._y = 20;
}
if(_root.level == 9)
{
_root.ball._x = 650;
_root.ball._y = 18;
}
if(_root.level == 10)
{
_root.ball._x = 670;
_root.ball._y = 20;
addr416:
}
§§goto(addr416);
}
else
{
addr33:
}
}
§§goto(addr416);
§§goto(addr416);
}
§§goto(addr33);
}
§§goto(addr416);
}